#ifndef FPS_H
#define FPS_H

#include <SDL.h>

class FPS
{
     public:
          static FPS FPSControl;

     private:
          int OldTime;
          int LastTime;

          float SpeedFactor;
          int NumFrames;
          int Frames;

     public:
          FPS();

          void loop();

          int GetFPS();
          float GetSpeedFactor();
};

#endif
